package top.csmcool.musicapi.util;

/*
 * @description
 * @date 2025/1/31
 * @author shijin
 * @version 1.0
 */

import top.csmcool.musicapi.domain.UserPlatformBindInfo;

public class TreadLocalUtil {

    // 平台url
    public static final ThreadLocal<UserPlatformBindInfo> userPlatformBindInfo = new ThreadLocal<>();

    public static void setUserPlatformBindInfoThreadLocal(UserPlatformBindInfo userPlatformBindInfoThreadLocal) {
        userPlatformBindInfo.set(userPlatformBindInfoThreadLocal);
    }

    public static UserPlatformBindInfo getUserPlatformBindInfo() {
        return userPlatformBindInfo.get();
    }
}
